Integrand size = 36, antiderivative size = 102 \[ \int \frac {\csc (e+f x) \sqrt {a+a \sin (e+f x)}}{\sqrt {c-c \sin (e+f x)}} \, dx=-\frac {a \cos (e+f x) \log (1-\sin (e+f x))}{f \sqrt {a+a \sin (e+f x)} \sqrt {c-c \sin (e+f x)}}+\frac {\log (\sin (e+f x)) \sec (e+f x) \sqrt {a+a \sin (e+f x)} \sqrt {c-c \sin (e+f x)}}{c f} \]
[Out]
Time = 0.33 (sec) , antiderivative size = 102, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {3021, 2816, 2746, 31, 3027, 3556} \[ \int \frac {\csc (e+f x) \sqrt {a+a \sin (e+f x)}}{\sqrt {c-c \sin (e+f x)}} \, dx=\frac {\sec (e+f x) \sqrt {a \sin (e+f x)+a} \sqrt {c-c \sin (e+f x)} \log (\sin (e+f x))}{c f}-\frac {a \cos (e+f x) \log (1-\sin (e+f x))}{f \sqrt {a \sin (e+f x)+a} \sqrt {c-c \sin (e+f x)}} \]
[In]
[Out]
Rule 31
Rule 2746
Rule 2816
Rule 3021
Rule 3027
Rule 3556
Rubi steps \begin{align*} \text {integral}& = \frac {\int \csc (e+f x) \sqrt {a+a \sin (e+f x)} \sqrt {c-c \sin (e+f x)} \, dx}{c}+\int \frac {\sqrt {a+a \sin (e+f x)}}{\sqrt {c-c \sin (e+f x)}} \, dx \\ & = \frac {(a c \cos (e+f x)) \int \frac {\cos (e+f x)}{c-c \sin (e+f x)} \, dx}{\sqrt {a+a \sin (e+f x)} \sqrt {c-c \sin (e+f x)}}+\frac {\left (\sec (e+f x) \sqrt {a+a \sin (e+f x)} \sqrt {c-c \sin (e+f x)}\right ) \int \cot (e+f x) \, dx}{c} \\ & = \frac {\log (\sin (e+f x)) \sec (e+f x) \sqrt {a+a \sin (e+f x)} \sqrt {c-c \sin (e+f x)}}{c f}-\frac {(a \cos (e+f x)) \text {Subst}\left (\int \frac {1}{c+x} \, dx,x,-c \sin (e+f x)\right )}{f \sqrt {a+a \sin (e+f x)} \sqrt {c-c \sin (e+f x)}} \\ & = -\frac {a \cos (e+f x) \log (1-\sin (e+f x))}{f \sqrt {a+a \sin (e+f x)} \sqrt {c-c \sin (e+f x)}}+\frac {\log (\sin (e+f x)) \sec (e+f x) \sqrt {a+a \sin (e+f x)} \sqrt {c-c \sin (e+f x)}}{c f} \\ \end{align*}
Time = 1.25 (sec) , antiderivative size = 64, normalized size of antiderivative = 0.63 \[ \int \frac {\csc (e+f x) \sqrt {a+a \sin (e+f x)}}{\sqrt {c-c \sin (e+f x)}} \, dx=-\frac {(\log (1-\sin (e+f x))-\log (\sin (e+f x))) \sec (e+f x) \sqrt {a (1+\sin (e+f x))} \sqrt {c-c \sin (e+f x)}}{c f} \]
[In]
[Out]
Time = 1.23 (sec) , antiderivative size = 100, normalized size of antiderivative = 0.98
method | result | size |
default | \(\frac {\left (2 \ln \left (\csc \left (f x +e \right )-\cot \left (f x +e \right )-1\right )-\ln \left (\csc \left (f x +e \right )-\cot \left (f x +e \right )\right )\right ) \sqrt {a \left (1+\sin \left (f x +e \right )\right )}\, \left (-\cos \left (f x +e \right )+\sin \left (f x +e \right )-1\right )}{f \left (\cos \left (f x +e \right )+\sin \left (f x +e \right )+1\right ) \sqrt {-c \left (\sin \left (f x +e \right )-1\right )}}\) | \(100\) |
[In]
[Out]
\[ \int \frac {\csc (e+f x) \sqrt {a+a \sin (e+f x)}}{\sqrt {c-c \sin (e+f x)}} \, dx=\int { \frac {\sqrt {a \sin \left (f x + e\right ) + a}}{\sqrt {-c \sin \left (f x + e\right ) + c} \sin \left (f x + e\right )} \,d x } \]
[In]
[Out]
\[ \int \frac {\csc (e+f x) \sqrt {a+a \sin (e+f x)}}{\sqrt {c-c \sin (e+f x)}} \, dx=\int \frac {\sqrt {a \left (\sin {\left (e + f x \right )} + 1\right )}}{\sqrt {- c \left (\sin {\left (e + f x \right )} - 1\right )} \sin {\left (e + f x \right )}}\, dx \]
[In]
[Out]
none
Time = 0.30 (sec) , antiderivative size = 59, normalized size of antiderivative = 0.58 \[ \int \frac {\csc (e+f x) \sqrt {a+a \sin (e+f x)}}{\sqrt {c-c \sin (e+f x)}} \, dx=\frac {\frac {2 \, \sqrt {a} \log \left (\frac {\sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} - 1\right )}{\sqrt {c}} - \frac {\sqrt {a} \log \left (\frac {\sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1}\right )}{\sqrt {c}}}{f} \]
[In]
[Out]
none
Time = 0.34 (sec) , antiderivative size = 1, normalized size of antiderivative = 0.01 \[ \int \frac {\csc (e+f x) \sqrt {a+a \sin (e+f x)}}{\sqrt {c-c \sin (e+f x)}} \, dx=0 \]
[In]
[Out]
Timed out. \[ \int \frac {\csc (e+f x) \sqrt {a+a \sin (e+f x)}}{\sqrt {c-c \sin (e+f x)}} \, dx=\int \frac {\sqrt {a+a\,\sin \left (e+f\,x\right )}}{\sin \left (e+f\,x\right )\,\sqrt {c-c\,\sin \left (e+f\,x\right )}} \,d x \]
[In]
[Out]